home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gPosX, gPosY, gSizeX, gSizeY, gStartMove, gCans
- puppetSound("bing")
- repeat with n = 1 to 8
- set the locV of sprite (n + 30) to getAt(gPosX, n) + 100
- set the locH of sprite (n + 30) to getAt(gPosY, n) + 110
- set the width of sprite (n + 30) to getAt(gSizeX, n) * 6 / 7
- set the height of sprite (n + 30) to getAt(gSizeY, n) * 6 / 7
- end repeat
- if gCans = 2 then
- play frame "owl1"
- else
- if gCans = 3 then
- play frame "owl2"
- else
- if gCans = 4 then
- play frame "owl3"
- end if
- end if
- end if
- end
-